package utils;

import java.io.File;

import javax.swing.filechooser.FileFilter;

public class PNGFileFilter extends FileFilter {

	public boolean accept(File f) {
		if (f.isDirectory()) {
			return false;
		}

		String s = f.getName();

		return s.endsWith(".png");
	}

	@Override
	public String getDescription() {
		return "*.png";
	}

}
